package com.day21.ex09;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class ServerDemo{
    public static void main(String[] args)throws IOException {
        ServerSocket ss=new ServerSocket(10000);
        while (true){
            Socket s=ss.accept();
            new Thread(new ServerThread(s)).start();
        }
    }
}
